package com.edu.base.ums.collectRecord.service;

import com.edu.base.ums.collectRecord.domain.ClsMemberCollectRecord;

import java.util.List;

/**
 * 会员收藏Service接口
 * 
 * @author admin
 * @date 2021-07-21
 */
public interface IClsMemberCollectRecordService 
{
    /**
     * 查询会员收藏
     * 
     * @param id 会员收藏ID
     * @return 会员收藏
     */
    public ClsMemberCollectRecord selectClsMemberCollectRecordById(String id);

    /**
     * 查询会员收藏列表
     * 
     * @param clsMemberCollectRecord 会员收藏
     * @return 会员收藏集合
     */
    public List<ClsMemberCollectRecord> selectClsMemberCollectRecordList(ClsMemberCollectRecord clsMemberCollectRecord);
    public List<ClsMemberCollectRecord> selectMemberRecordList(ClsMemberCollectRecord clsMemberCollectRecord);

    /**
     * 新增会员收藏
     * 
     * @param clsMemberCollectRecord 会员收藏
     * @return 结果
     */
    public int insertClsMemberCollectRecord(ClsMemberCollectRecord clsMemberCollectRecord);

    /**
     * 修改会员收藏
     * 
     * @param clsMemberCollectRecord 会员收藏
     * @return 结果
     */
    public int updateClsMemberCollectRecord(ClsMemberCollectRecord clsMemberCollectRecord);

    /**
     * 批量删除会员收藏
     * 
     * @param ids 需要删除的会员收藏ID
     * @return 结果
     */
    public int deleteClsMemberCollectRecordByIds(String[] ids);

    /**
     * 删除会员收藏信息
     * 
     * @param id 会员收藏ID
     * @return 结果
     */
    public int deleteClsMemberCollectRecordById(String id);

	public int deleteCollectOrRecordByCourseIds(String[] courseIds, String memberId); 
}
